<?php

function smarty_function_js($params, &$smarty){
    $result = $params['file'];
    return '<script type="text/javascript" src="'.__PUBLIC__.'/Js/'.$result.'"></script>';
}

/* vim: set expandtab: */

?>
